﻿
using System.ComponentModel.DataAnnotations;


namespace BCGM.MedicalWisdom.Model.DTO
{
    public class PatientLoginDTO
    {

        /// <summary>
        /// Desc:患者账号
        /// Default:
        /// Nullable:False
        /// </summary>
        [Required(ErrorMessage =("账号不能为空"))]
        public string LoginName { get; set; }
        /// <summary>
        /// Desc:患者密码
        /// Default:
        /// Nullable:False
        /// </summary>
        [Required(ErrorMessage =("密码不能为空"))]
        public string LoginPassword { get; set; }
    }
}
